﻿@using Simple_PM.Models
@model TaskModel
@{
    Layout = null;
}

@using (Html.BeginForm())
{
    <div class="editor-field">
        Task :
    </div>
    <div class="editor-label">
        @Html.TextAreaFor(m => m.TaskTitle, new { style = "width:100%; height:130px;" })
    </div>
    @*<div class="editor-field">
        Category : @Html.DropDownListFor(m => m.CategoryId, Model.CategoryList)
    </div>*@

    <div class="editor-label">
    @Html.HiddenFor(m => m.CategoryId)
    </div>
    
    <div class="editor-label">
    @Html.HiddenFor(m => m.TaskId)
    </div>
    
    <div class="editor-field">
    </div>
    
    <div class="editor-label">
        <input type="submit" value="Update Task" class="sbuttons" />
    </div>
}

<p>

<p><b>Shortcuts</b> </p>

<ul>
    <li>To Close: Press 'Esc'</li>
    <li>To Save: Press 'Enter'</li>
</ul>

</p>